<style>
    .dashboard-title h1 {
        color: white;
        font-weight: 200;
        font-size: 2.5rem;
        padding-top: 2rem;
    }
    .goods-list {
        float: left;
        width: 33.3%;
    }
</style>

<div class="dashboard-title card bg-primary">
    @if ($title)
    <h1 class="text-center">{{$title}}</h1>
    @endif
    <div class="card-body">
        <div class="text-center">
            @foreach ($data as $value)
            <div class="text goods-list">
                <p style="font-size:28px;"><span style="text-decoration:none;color:#F04844;">{{$value['number']}}</span></p>
                <strong style="font-size:14px;"><span style="text-decoration:none;">{{$value['name']}}</span></strong>
            </div>
            @endforeach
        </div>
    </div>
</div>

